/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fallOutObjects;

import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;

/**
 *
 * @author Windows7
 */
public class shitObject extends fallOutObjects {
    
    public shitObject(int x, int y,int p) throws IOException
    {
        super(x,y,p); 
        this.name = kindOfObject.shit;
        this.objectsImages = "images/shit.png";
        this.img = ImageIO.read(new File(objectsImages));
        this.w = img.getWidth(null);
        this.h = img.getHeight(null);
    }
}
